{__NOLAYOUT__}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>{$data.title.val}-{$seo_title}</title>
    <include file="Index:mate" />
</head>

<body>
    <include file="Index:nav" />
    <section class="details-head">
        <div class="details-head-img">
            <img src="http://hgedu.fjhgkj.com{$data.bannerimg.val}" onerror="this.src='__PUBLIC__/dist/image/img.jpg'">
        </div>
        <div class="details-head-text container">
            <h1 class="mb-20">{$data.title.val}</h1>
            <div class="con-group">
                <p class="con-title">
                    <a class="pull-right text-underline" <if condition="$cid">
                        href="index.php?g=Mobile&a=about&cid={$cid}" data-remote="index.php?g=Mobile&a=about&cid={$cid}"
                        <else /> href="index.php?g=Mobile&a=about&pid={$pid}" data-remote="index.php?g=Mobile&a=about&pid={$pid}"
                        </if>
                        data-toggle="modal" data-height="auto" data-title="{$data.title.val}">相关信息&gt;</a>
                    <if condition="$cid">
                        项目数：                        
                        <else />
                        岗位数：
                    </if>
                    <span class="blue">{$list|count}</span>
                </p>
            </div>
            <div class="project-head-label mb-10 clearfix">
                <label>电子教材
                    <span class="label">{$data.dzjcnum}</span>
                </label>
                <label>教学视频
                    <span class="label">{$data.jxspnum}</span>
                </label>
                <label>微课课件
                    <span class="label">{$data.wkkjnum}</span>
                </label>
                <!-- <label>电子教案
                    <span class="label">{$data.dzjanum}</span>
                </label> -->
                <label>电子课件
                    <span class="label">{$data.qtkjnum}</span>
                </label>
                <label>教学素材
                    <span class="label">{$data.jxscnum}</span>
                </label>
            </div>
            <div class="con-group">
                <p class="con-title">{$data.description.attr.name}</p>
                <div>{$data.description.val}</div>
            </div>
        </div>
    </section>

    <section class="details-content container">
        <if condition="$cid">
            <section class="list-num">
                <foreach name='list' item='vo' key="k">
                    <!-- 列表 -->
                    <div class="list-num-card">
                        <if condition="$k+1 lt 10">
                            <span class="num">0{$k+1}</span>
                            <else />
                            <span class="num">{$k+1}</span>
                        </if>
                        <div class="list-pro-card">
                            <div class="img">
                                <!-- 岗位 -->
                                <a href="index.php?g=Mobile&a=details&pid={$pid}&oid={$vo.id.val}&cid={$cid}" title=" {$vo.title.val}">
                                    <img src="__PUBLIC__/dist/image/img.jpg" data-src="http://hgedu.fjhgkj.com{$cid?$vo['bigimage']['val']:$vo['bannerimg']['val']}" alt=" {$vo.title.val}">
                                </a>
                            </div>
                            <div class="info">
                                <h3>
                                    <a href="index.php?g=Mobile&a=details&pid={$pid}&oid={$vo.id.val}&cid={$cid}" title=" {$vo.title.val}">{$vo.title.val}</a>
                                </h3>
                                <p class="card-info-item">
                                    <label>
                                        <span>任务</span>{$vo.childs.val}
                                    </label>
                                </p>
                            </div>
                        </div>
                    </div>
                    <!-- 列表 end -->
                </foreach>
            </section>
        <else />
            <div class="card-group">
                <!-- 项目列表 块  start -->
                <foreach name='list' item='vo' key="k">                
                    <div class="card-box">
                        <div class="card-box-content">
                            <div class="card-img">
                                <a href="index.php?g=Mobile&a=major&pid={$pid}&cid={$vo.id.val}" title=" {$vo.title.val}">
                                    <img src="__PUBLIC__/dist/image/img.jpg" data-src="http://hgedu.fjhgkj.com{$cid?$vo['bigimage']['val']:$vo['bannerimg']['val']}"  alt=" {$vo.title.val}">
                                </a>
                            </div>
                            <div class="card-info">
                                <p class="text-ellipsis mb-10">
                                    <a href="index.php?g=Mobile&a=major&pid={$pid}&cid={$vo.id.val}" title=" {$vo.title.val}">{$vo.title.val}</a>
                                </p>
                                <p class="card-info-item">
                                    <label>
                                        <span>项目</span>{$vo.childs.val}
                                    </label>
                                </p>
                            </div>
                        </div>
                    </div>
                </foreach>                
                <!-- 项目列表 块  end -->
            </div>
        </if>
    </section>

    <include file="Index:footer" />
    <script>

        $(function () {
            //图片懒加载
            srcollLoadImg(function ($obj) {
                var $img = $obj;
                //比例
                var h = $img.width() / 1.75 + "px";
                $img.height(h);
            });
        })
    </script>
</body>

</html>